package models

import "github.com/jinzhu/gorm"

type File struct {
	gorm.Model
	FileSha1 string `gorm:"type:varchar(40);not null;UNIQUE"`
	FileName string `gorm:"type:varchar(256);not null"`
	FileSize int64  `gorm:"type:bigint;not null"`
	FileAddr string `gorm:"type:varchar(1024)"`
	Status   int    `gorm:"not null"`
}
